/**
 * @License: (C) Copyright 2013-2022
 * @Contact: abcque@outlook.com
 * @IDE: IntelliJ IDEA
 * @Encoding: utf-8
 * @Project: st2214st2215
 * @Package: PACKAGE_NAME
 * @File: Animal.java
 * @Time: 2023/2/21 15:14
 * @Author: abcque
 * @Description:
 * @Modifier:
 * @ModifyDate:
 * @ModifyRemark:
 */
public class Animal {
    public int legs;

    public void eat(){
        System.out.println("正在吃东西");
    }

    public void move(){
        System.out.println("正在跑步");
    }

    public int getLegs() {
        return legs;
    }

    public void setLegs(int l) {
        legs = l;
    }
}
